package bdqn.Service.impl;

import bdqn.Service.UserService;
import bdqn.dao.UserMapper;
import bdqn.pojo.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.annotation.Resources;

@Service("userService")
public class UserServiceImpl implements UserService {
   @Resource
   private UserMapper userMapper;
    @Override
    public User login(User user) {
        return userMapper.login(user);
    }
}
